home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr27 / gs26.zip / HISTORY.DOC < prev    next >
Text File  |  1992-11-22  |  48KB  |  1,254 lines

  1.    Copyright (C) 1992 Aladdin Enterprises.  All rights reserved.
  2.    Distributed by Free Software Foundation, Inc.
  3.  
  4. This file is part of Ghostscript.
  5.  
  6. Ghostscript is distributed in the hope that it will be useful, but
  7. WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  8. to anyone for the consequences of using it or for whether it serves any
  9. particular purpose or works at all, unless he says so in writing.  Refer
  10. to the Ghostscript General Public License for full details.
  11.  
  12. Everyone is granted permission to copy, modify and redistribute
  13. Ghostscript, but only under the conditions described in the Ghostscript
  14. General Public License.  A copy of this license is supposed to have been
  15. given to you along with Ghostscript so you can know your rights and
  16. responsibilities.  It should be in a file named COPYING.  Among other
  17. things, the copyright notice and this notice must be preserved on all
  18. copies.
  19.  
  20. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  21.  
  22. This file, history.doc, describes the changes in very old releases of
  23. Ghostscript.  For more recent changes, see the NEWS file.
  24.  
  25. For an overview of Ghostscript and a list of the documentation files, see
  26. README.
  27.  
  28. Version 2.3 (8/28/91)
  29. ===========
  30.  
  31. This is a minor release to fix two bugs and add the PaintJet driver, which
  32. didn't make it into 2.2.
  33.  
  34. Utilities
  35. ---------
  36.  
  37. Changes the pstoppm utility so it counts pages correctly even in the
  38. presence of arbitrary saves and restores.
  39.  
  40. Drivers
  41. -------
  42.  
  43. Adds a new, "supported" PaintJet driver.
  44.  
  45. Changes the Epson driver to use ESC+D rather than ESC+\ for horizontal
  46. positioning, since many printers don't support the latter.
  47.  
  48. Adds horizontal double-density (two-pass) printing to the Epson driver, so
  49. it can do 240 x 60 and 360 x 180 densities.  (Vertical double density is
  50. not supported yet.)
  51.  
  52. Version 2.2 (6/1/91)
  53. ===========
  54.  
  55. The purpose of this release is to add save/restore, and a few
  56. miscellaneous Level 2 P*stScr*pt features such as undef.  It also includes
  57. major improvements in graphics quality and in handling of high-resolution
  58. printers.
  59.  
  60. Procedures
  61. ----------
  62.  
  63. Changes the version numbering to M.mpp rather than M.m.p, so that
  64. `version' can be a real number for those programs that insist on it.
  65.  
  66. Renames ghost.ps as gs_init.ps, gfonts.ps as gs_fonts.ps, and statusd.ps
  67. as gs_statd.ps.  The initialization files now all are named gs_*.ps.
  68.  
  69. Renames gdevs.{c,h,tl} as gconfig.{c,h,tl}.
  70.  
  71. Changes the relevant makefiles and command files so that a single build
  72. can contain several drivers that share code, e.g., the Epson driver and
  73. the DeskJet driver.
  74.  
  75. Changes gs_init.ps so it relies on an external gconfig.ps file rather than
  76. making a specific test for the presence of Level 2 features.
  77.  
  78. Adds an entry for uglyr.gsf to the makefile.
  79.  
  80. Removes the distinction between CCA and CCNA, since most of the files now
  81. contain constructs that require non-ANSI compilation on MS-DOS platforms.
  82.  
  83. Adds a `man' page for the ansi2knr utility.
  84.  
  85. Changes the documentation (use.doc) to show how to use -sDEVICE=<device>,
  86. or the selectdevice procedure, to select devices by name.
  87.  
  88. Adds DEVICE_DEVS to the makefiles (analogous to DEVICES and DEVICE_OBJS).
  89. This finally makes the make procedure fully automatic.
  90.  
  91. Adds the name of the initialization file (gs_init.ps) as a
  92. platform-specific makefile parameter, GS_INIT.
  93.  
  94. Removes the test program gt.{c,tr} from the fileset, since it is not
  95. useful to users.
  96.  
  97. Moves the Symbol encoding vector to a separate file (symbol_e.ps), from
  98. which it is loaded when first used.
  99.  
  100. Changes the error handler so it can handle errors that occur while reading
  101. the initialization files.
  102.  
  103. Extends ansi2knr so it can handle `void' and `...' in parameter lists.
  104.  
  105. Adds quit.ps to the set of installed files.
  106.  
  107. MS-DOS-specific changes
  108. - - - - - - - - - - - -
  109.  
  110. Adds the VGA and BGI drivers to the standard MS-DOS configuration, and
  111. makes VGA the default.
  112.  
  113. Adds a `+' and a newline at the end of gs.tr, to avoid problems with file
  114. transfer programs or editors that add a newline at the end of files.
  115.  
  116. Changes the name of msdos.mak to turboc.mak, and creates a new tbcplus.mak
  117. makefile for use with Turbo C++ and Borland C++.
  118.  
  119. Changes the extension of the loader response files from .tl to .tr.
  120.  
  121. Changes the default search path from c:/ghost and c:/ghost/fonts to c:/gs
  122. and c:/gs/fonts.
  123.  
  124. Changes the directory separator from `|' back to ';', since it appears
  125. that DOS can handle a ; in a command line if it is prefixed with \.
  126.  
  127. Unix-specific changes
  128. - - - - - - - - - - -
  129.  
  130. Changes the uses of install in unixtail.mak so they only install a single
  131. file at a time, which is all that the standard Unix install allows.
  132.  
  133. Removes the duplicate files (README/readme, LICENSE/license,
  134. COPYING/copying, Fontmap/fontmap).
  135.  
  136. Changes the ld flags from LDPLAT to LDFLAGS.
  137.  
  138. Adds XCFLAGS and XLDFLAGS.  These are concatenated with CFLAGS and LDFLAGS
  139. respectively.  The intention is that they be set from the `make' command
  140. line if desired.
  141.  
  142. VMS-specific changes
  143. - - - - - - - - - -
  144.  
  145. Repairs the omission of ZPACKED from the VMS build lists.
  146.  
  147. Drivers
  148. -------
  149.  
  150. Fixes bugs:
  151.     - The SunView driver produced semi-garbage on little-endian
  152. platforms (Sun-386i) because it didn't swap the bit order.
  153.     - The X driver would dump core if it couldn't open the display and
  154. the DISPLAY environment variable wasn't set.
  155.     - The X driver relied on white = 0, black = ones in a couple of
  156. places;
  157.     - The X driver would return an error, instead of clipping, if
  158. asked to display outside the window.
  159.     - The X driver would create inappropriately sized windows, because
  160. it believed the server's report of the screen resolution.
  161.  
  162. Adds Fran Taylor's Private Eye driver to gdevs.mak and the fileset (not
  163. supported by Aladdin Enterprises).
  164.  
  165. Adds Neil Ostroff's TruFax driver to gdevs.mak and the fileset (not
  166. supported by Aladdin Enterprises).
  167.  
  168. Makes the scratch file template for the printer drivers a per-platform
  169. quantity (gp_scratch_file_name_template).  Puts the default scratch files
  170. for Unix in /usr/tmp rather than /tmp.
  171.  
  172. Changes the SunView driver to prevent the Ghostscript window from being
  173. destroyed (which badly confuses the interpreter).
  174.  
  175. Extends the Epson driver to handle a variety of print densities in both X
  176. and Y, to handle 24-pin as well as 8-pin graphics, and to allow optional
  177. specification of default density in the makefile (gdevs.mak).
  178.  
  179. Refactors the printer drivers so that a single driver handles both DeskJet
  180. and LaserJet.  Adds LaserJet drivers that use the new compression modes on
  181. the LJ IId/IIp and LJ III.
  182.  
  183. Changes all the printer drivers to use band lists rather than bitmap
  184. paging as the buffering method.  (The individual drivers need only a
  185. one-line change to replace mem_copy_scan_lines with
  186. gdev_prn_copy_scan_lines with a different argument.)
  187.  
  188. Adds the halftone phase as additional arguments to tile_rectangle and
  189. tile_trapezoid.
  190.  
  191. Adds an entirely new and much simpler PaintJet driver, using the new band
  192. list interface.
  193.  
  194. Adds margin information to the device structure.  This is currently only
  195. relevant for printer devices.
  196.  
  197. Adds BGIPATH and BGIUSER environment variables, allowing additional
  198. control of the BGI driver.
  199.  
  200. Changes the x/y_pixels_per_inch member of the device structure from int to
  201. float.
  202.  
  203. Fonts
  204. -----
  205.  
  206. Patches gs_fonts.ps so definefont will add an isFixedPitch entry to
  207. FontInfo if there isn't one there.
  208.  
  209. Removes the old "type 7 path" encoding code from gs_fonts.ps.
  210.  
  211. Changes bdftops so it puts isFixedWidth and ItalicAngle entries in the
  212. FontInfo dictionary of the fonts it creates, since some P*stScr*pt
  213. programs rely on this.
  214.  
  215. Changes bdftops so it synthesizes as many missing characters as possible
  216. out of the ones that are there (in particular: synthesizes accents out of
  217. punctuation marks, and accented characters using seac.)  The results
  218. aren't all that good, but they're a lot better than having characters
  219. missing out of the font.
  220.  
  221. Utilities
  222. ---------
  223.  
  224. Adds a pfbtops utility for converting .PFB fonts to standard Ghostscript
  225. fonts.
  226.  
  227. Fixes bugs:
  228.     - ps2image didn't reset things properly between pages for
  229. multi-page documents.
  230.  
  231. Interpreter
  232. -----------
  233.  
  234. Makes Ghostscript recognize `-' alone as meaning that it should read from
  235. standard input as though it were a file.  This allows Ghostscript to
  236. accept a pipe as input.
  237.  
  238. Fixes bugs:
  239.     - seac in type1addpath used the current font's encoding, not
  240. StandardEncoding.
  241.     - type1decryptfile (eexec) didn't recognize binary (as opposed to
  242. hex) representation.
  243.     - Mentioning a name whose value was a no-access object caused an
  244. invalidaccess error.
  245.     - There was a bogus definition of `run' in zfile.c.
  246.     - The interpreter didn't handle end-of-file on stdin properly.
  247.     - Real numbers with an 'e' or 'E' but no decimal point were not
  248. recognized.
  249.     - On MS-DOS systems, inside strings, \ followed by a newline was
  250. not discarded properly.
  251.     - On MS-DOS systems, the long unsigned divide routine sometimes
  252. gave incorrect answers.  Among other things, this caused alternate-radix
  253. numbers sometimes to crash the interpreter.
  254.     - cvrs didn't do the right thing about reals or negative integers.
  255.     - .echo.mode was being reset with def instead of store, and was
  256. defined in systemdict rather than userdict.
  257.     - setgray and settransfer didn't interact properly.
  258.     - 16#80000000 was being interpreted as a signed integer (and
  259. converted to a real) rather than an unsigned one.
  260.     - atan returned 0 sometimes when it should have returned 180.
  261.     - currentcmykcolor was defined wrong.
  262.  
  263. Removes the filename operator, since no standard Ghostscript code used it,
  264. and it caused problems with some P*stScr*pt files.
  265.  
  266. Implements new operators: filenameforall, selectfont (as a procedure),
  267. stringmatch, undef.
  268.  
  269. Adds new standard procedures: selectdevice.
  270.  
  271. For MS-DOS, requires that the operand and execution stacks be located in
  272. the data segment, and uses short pointers to address them.  This produces
  273. significantly smaller and faster code.  (These changes are not visible to
  274. users or library clients.)
  275.  
  276. Changes the assignment of attribute bits, and adds new bits for
  277. save/restore and the garbage collector.  Changes many of the macros in
  278. store.h to support save/restore.  (These changes are not visible to users
  279. or library clients.)  Implements save and restore.
  280.  
  281. Moves type names from gs_init.ps to ghost.h and ztype.c.
  282.  
  283. Moves error names from gs_init.ps to errors.h and iinit.c.
  284.  
  285. Introduces gp.h as a documented interface to the platform-specific files.
  286.  
  287. Adds the -- switch, which allows Ghostscript programs to take arguments
  288. from the command line.
  289.  
  290. Changes many uses of the name `name' to something else, to avoid upsetting
  291. the Microsoft C compiler.
  292.  
  293. Really implements packed arrays -- they took the same amount of space as
  294. ordinary arrays in previous versions.
  295.  
  296. Changes exitserver in serverdict so that it just clears the stacks.  (This
  297. isn't the correct fix, but it will do as a workaround.)
  298.  
  299. Makes many miscellaneous small changes to pacify various compilers.
  300.  
  301. Changes gs_fonts.ps so that when "quiet" mode is selected (-q switch),
  302. Ghostscript doesn't print anything when loading fonts or when substituting
  303. for undefined characters.
  304.  
  305. Defines the name consisting of just a control-D as a no-op, because some
  306. P*stScr*pt-generating applications put control-Ds in their output.
  307.  
  308. Implements halftone phase (sethalftonephase and currenthalftonephase
  309. operators).
  310.  
  311. Removes the -E switch, since it is no longer useful.
  312.  
  313. Changes the -w and -h switches to a single -g (geometry) switch, with
  314. usage -g<width>x<height>.  Makes the -h switch, and a new -? switch, print
  315. usage help.
  316.  
  317. Implements correct handling of stack overflow errors (makes an array out
  318. of the contents of the overflowing stack, and resets the stack, before
  319. invoking the error handler).
  320.  
  321. Adds t_oparray (`operators' defined as procedures) and the makeoperator
  322. operator.  This is so that programs like the Distillery that rely on all
  323. operators being bound by `bind' will work properly.
  324.  
  325. Adds a new NOPAUSE flag to suppress the prompt and pause at copypage and
  326. showpage.
  327.  
  328. Library
  329. -------
  330.  
  331. Fixes bugs:
  332.     - gs_type1_interpret didn't store the encryption state or the skip
  333. count before returning to let the client handle a seac or an endchar in
  334. the middle of a seac.
  335.     - The definition of the Type 1 operator ce_testadd was based on
  336. wrong information; the operator takes only 2 operands and does something
  337. unknown.
  338.     - mem_true24_copy_mono wasn't incrementing the destination pointer
  339. if the color was transparent, leading to garbled characters.
  340.     - gx_lookup_fm_pair would sometimes look at one entry beyond the
  341. end of the cached font/matrix pair area.  (This probably had no practical
  342. effect.)
  343.     - gs_type1_interpret didn't save the current point when returning
  344. to the client for a callothersubr, causing some characters to be rendered
  345. displaced (such as some of the chess pieces in chess.ps).
  346.     - gs_setgray, gs_sethsbcolor, gs_setrgbcolor, gs_setflat, and
  347. gs_setlinewidth gave errors for out-of-range operands rather than forcing
  348. them into range.
  349.     - Transfer functions were not actually supported.
  350.     - The area fill algorithm failed on certain complex paths.
  351.     - The current point was sometimes defined when a BuildChar
  352. procedure was called.
  353.     - Stroking a degenerate line didn't display anything for round
  354. caps or joins.
  355.     - If the ends of a curve had exactly the same X coordinate, the
  356. curve sometimes wouldn't be displayed.
  357.     - Very thin lines that went outside the clipping region would
  358. sometimes be displayed as dashed, or not at all.
  359.     - The translation in a FontMatrix was ignored.
  360.     - Very wide, shallow lines would color extraneous pixels when
  361. using bevel or miter joins.
  362.     - Dashed lines didn't join properly at the beginning of a closed
  363. path.
  364.     - 0-degree arcs didn't add the appropriate line (possibly
  365. degenerate) to the path.
  366.     - gs_type1_interpret didn't reset the callsubr stack when starting
  367. the base character of a seac, which caused confusion if the accent's
  368. endchar fell inside a Subr.
  369.     - Non-monochrome memory memory devices weren't checking the
  370. arguments of the drawing procedures properly.
  371.     - The initial clipping rectangle for memory devices was being
  372. computed wrong.
  373.     - Null devices had a semi-infinite clipping rectangle instead of
  374. an empty one.
  375.     - gs_setlinewidth was treating negative arguments as zero, instead
  376. of taking the absolute value.
  377.     - imagemask with a dithered color used a solid color rather than
  378. the dithered one.
  379.  
  380. Tweaks the area fill and image rendering algorithms to be a little more
  381. liberal with paint when being used to render characters.
  382.  
  383. Changes the name of the 8-bit mapped color memory device from
  384. mem_mapped_color_device to mem_mapped8_color_device.
  385.  
  386. Changes the memory devices so that on little-endian platforms, they can
  387. store the bytes within a word in either order.  (Little-endian order
  388. allows efficient 32-bit updating, big-endian is required when displaying
  389. or writing to a printer or a file.)
  390.  
  391. Implements halftone phase.
  392.  
  393. Replaces the trapezoid fill algorithm with a much more accurate one
  394. inspired by a contribution from Paul Haeberli.  This also changes the
  395. graphics convention back to filling only pixels whose center falls within
  396. the region to be filled.
  397.  
  398. Changes the character cache to allocate headers and bits contiguously out
  399. of a single ring buffer.
  400.  
  401. Changes gs_imagemask and gs_imagemask_init to take a thickness adjustment
  402. parameter.
  403.  
  404. Changes gs_setcachedevice and gs_setcharwidth to take the graphics state
  405. as a parameter.
  406.  
  407. Renames gx_device_memory_bitmap_size as gdev_mem_bitmap_size,
  408. mem_copy_scan_lines as gdev_mem_copy_scan_lines, and
  409. mem_bytes_per_scan_line as gdev_mem_bytes_per_scan_line.
  410.  
  411. Version 2.1.1 (1/15/91)
  412. =============
  413.  
  414. This is a sub-release distributed to fix a few early bugs in 2.1, just in
  415. time for the new GNU master tape.
  416.  
  417. Build procedures
  418. ----------------
  419.  
  420. Removes all of the (undebugged) Level 2 code from the fileset, as well as
  421. the (unused) file gdevvga.c.
  422.  
  423. Changes the tar file so that the files are stored in the directory
  424. gs<version> rather than simply gs, e.g., gs211.
  425.  
  426. Interpreter
  427. -----------
  428.  
  429. Changes the scanner so that \ is recognized within strings regardless of
  430. whether the scanner is reading from a string or from a file.  This is
  431. compatible with newer P*stScr*pt interpreters, and with the newer
  432. P*stSc*pt language specification, but not with the older specification in
  433. the original PostScript Language Reference Manual.
  434.  
  435. Drivers
  436. -------
  437.  
  438. Fixes the max_value macro in gdevmem.c so that compilers won't complain
  439. about a left shift by 32.
  440.  
  441. Adds 'byte' to the list of types that gdevx.c must sidestep because header
  442. files use them.
  443.  
  444. Library
  445. -------
  446.  
  447. Changes the computation of penum->unpack in gsimage.c so as not to upset
  448. compilers that don't treat procedures and pointers to procedures as
  449. compatible types for conditional expressions.
  450.  
  451. Version 2.1 (12/31/90)
  452. ===========
  453.  
  454. This is primarily a bug fix release to clean up problems in 2.0.  It also
  455. implements a first cut at the new color operators.
  456.  
  457. Build procedures
  458. ----------------
  459.  
  460. Changes the separator for multiple directories in MS-DOS from ';' to '|',
  461. since there is no way to include a ';' in a command line.
  462.  
  463. Adds <dir>/fonts to the default search path, where <dir> is c:/ghost for
  464. MS-DOS systems and `pwd` for Unix systems.
  465.  
  466. Adds new documentation describing how to direct output to the printer.
  467.  
  468. Changes the PROCTYPE and USE8087 options in MSDOS.MAK to CPU_TYPE and
  469. FPU_TYPE.  The latter now indicates the type of FPU to generate code for,
  470. if any.
  471.  
  472. Drivers
  473. -------
  474.  
  475. Adds a driver for the Canon BubbleJet BJ10e.
  476.  
  477. Modifies the EGA driver to handle (non-standard) frame buffers larger than
  478. 64K.  Adds drivers for the VGA and for the EIZO MDB-10 (a 1024 x 768 frame
  479. buffer).
  480.  
  481. Changes the X driver so that it clips to the window dimensions, rather
  482. than reporting an error.
  483.  
  484. Notes that the H-P LaserJet driver, like the DeskJet driver, works under
  485. Unix as well as MS-DOS.
  486.  
  487. Adds support for 120 X DPI mode, and for the LQ-1500, to the Epson driver.
  488.  
  489. Fonts
  490. -----
  491.  
  492. Fixes bugs in bdftops:
  493.     - It was using /UniqueId instead of /UniqueID as the key for the
  494. font unique ID.  This effectively disabled the font cache.
  495.     - The definition for .notdef was bogus -- an invalid CharString.
  496.  
  497. Changes ghost.ps and gfonts.ps so that NullFont is the initial font,
  498. rather than Ugly.
  499.  
  500. Arranges things so that when attempting a font substitution, if the
  501. default font is not found, NullFont is used instead.
  502.  
  503. Extends bdftops so that if certain easily synthesized characters are
  504. missing from a font, it will attempt to synthesize them using available
  505. characters.
  506.  
  507. Interpreter
  508. -----------
  509.  
  510. Extends the -T switch to allow specifying a printf template for the
  511. arguments of the procedure being traced.
  512.  
  513. Fixes bugs:
  514.     - /0 was interpreted as equivalent to 0 (a number) rather than a
  515. literal name.
  516.     - packedarray was defined as being like array, instead of like
  517. array followed by astore.
  518.     - Many minor and harmless type mismatches (and a couple of very
  519. minor genuine bugs) were upsetting the Apollo C compiler.
  520.     - exp was incorrectly failing in certain cases with a negative
  521. first argument.
  522.     - copyscanlines incorrectly required at least 4 elements on the
  523. operand stack, although it correctly only used the top 3.
  524.     - readhexstring incorrectly read 1 byte even if the string length
  525. was zero.
  526.     - Not every place that expected an array would accept a packed
  527. array.
  528.     - Very complex paths (and infrequently other things) could produce
  529. a 'memory leak'.
  530.     - / alone would skip following whitespace and gather following
  531. characters, rather than creating an empty name.
  532.     - ghost.ps left newerror defined as true in $error, which resulted
  533. in an erroneous error report if a program executed a 'stop'.
  534.     - The definition of exitserver in serverdict didn't clear the
  535. stack.
  536.     - currentfile returned an executable file, rather than a literal
  537. one.
  538.     - setfont for Type 1 fonts didn't check the UniqueID in the font
  539. dictionary against the one in the font's Private dictionary.
  540.     - A value stored in a dictionary under the key /xxx couldn't be
  541. retrieved using the key (xxx), and vice versa.
  542.     - charpath with a Type 1 font on a string containing a 'space'
  543. would produce garbage (it released the parent path inappropriately).
  544.     - bytesavailable did not work properly for terminal input.
  545.  
  546. Changes the interface to the memory allocator so that it always takes an
  547. element size and an element count, like calloc instead of malloc (but note
  548. that alloc does *not* clear just-allocated blocks).  Gets rid of the
  549. special 'dynamic' allocation procedures.
  550.  
  551. Changes the random number operators to use a better implementation.
  552.  
  553. Changes the idiv operator so it will accept any numbers, not just
  554. integers, as arguments.  (The PostScript manual doesn't allow this, but
  555. implementations apparently do.)
  556.  
  557. Provides semi-fake but usable definitions for all of the color PostScript
  558. extensions, including a real implementation of colorimage.
  559.  
  560. No longer uses the name 'null', which is apparently reserved by Microsoft
  561. C.  Makes a number of other minor changes required to pacify the Microsoft
  562. C compiler.
  563.  
  564. Implements %statementedit and %lineedit.  (%statementedit is equivalent to
  565. %lineedit, which is wrong.)  Changes the interactive interpreter to use
  566. %statementedit.
  567.  
  568. Changes the scanner to accept null, ctrl-K (vertical tab), and ctrl-L
  569. (form feed) as whitespace.  Ctrl-L terminates a comment, null and ctrl-K
  570. do not.
  571.  
  572. Allows a literal string as the 'proc' argument(s) for image, imagemask,
  573. and colorimage.
  574.  
  575. Adds the following operators/procedures: arct, cleardictstack, deletefile,
  576. renamefile.
  577.  
  578. Defines =print as a synonym for =, for the benefit of LaserPrep.
  579.  
  580. Implements non-zero PaintType for the show operators (but not for
  581. charpath) for Type 1 fonts.
  582.  
  583. Adds the ISOLatin1Encoding encoding vector.
  584.  
  585. Renames currentcolor and setcolor as currentgscolor and setgscolor, to
  586. avoid conflict with the Level 2 PostScript names.  Removes colorhsb,
  587. colorrgb, hsbcolor, and rgbcolor.
  588.  
  589. Library
  590. -------
  591.  
  592. Fixes bugs:
  593.     - In a couple of places, a 0 was being passed as a pointer
  594. argument without casting, which confused the Microsoft C compiler.
  595.     - Image devices were not recognized properly in debugging
  596. configurations.
  597.     - Inverted-color monochrome image devices were not recognized
  598. properly.
  599.     - Images that exactly fill the drawing area rendered very slowly,
  600. because they erroneously used the general clipping algorithm.
  601.     - Images that are 1-for-1 with the device were incorrectly scaled
  602. by a factor of 8 in X.
  603.     - Rounding artifacts sometimes caused characters to be unevenly
  604. offset vertically by 1 pixel.
  605.     - Type 1 fonts that used the Flex feature resulted in garbled
  606. images.
  607.     - The show operator routines would incorrectly fill or stroke a
  608. path that existed at the time the show was started.
  609.     - setscreen truncated the cell size instead of rounding, which
  610. could produce off-by-1 anomalies.
  611.     - stroke would sometimes produce garbage (or nothing at all) for
  612. very narrow lines.
  613.     - path filling would only color the pixels whose centers fell
  614. inside the path: the Adobe specification requires coloring a pixel if any
  615. part of it falls inside the path.
  616.  
  617. Changes the Epson printer driver so that it drives the printer directly
  618. rather than writing to a file.
  619.  
  620. Changes pathbbox so that if the path is empty but there is a current
  621. point, it returns a null rectangle at the current point.
  622.  
  623. Changes gs_image_init to take an additional parameter (after bps) giving
  624. the number of samples per pixel (1, 3, or 4), and an indication of whether
  625. the samples for each pixel are together or separated (-3 or -4).
  626.  
  627. Renames the gs_image_data and gs_imagemask_data procedures as gs_image and
  628. gs_imagemask, and removes the old versions of the latter.
  629.  
  630. Adds gs_colorimage.
  631.  
  632. Replaces Snoopy's color dithering algorithm with one contributed by Paul
  633. Haeberli.
  634.  
  635. Changes gs_setgray, gs_[set]hsbcolor, and gs_[set]rgbcolor so that they
  636. coerce arguments outside the range [0..1] back into the range, instead of
  637. signalling an error.
  638.  
  639. Makes a number of minor changes required to pacify the Microsoft C
  640. compiler.
  641.  
  642. Changes gs_arcto so that if the last argument is a null pointer, the
  643. tangent points are not returned.
  644.  
  645. Removes gs_type1addpath, which is not useful.  (Clients must call
  646. gs_type1_init and gs_type1_interpret directly.)
  647.  
  648. Implements the 'seac' opcode for Type 1 fonts, allowing fonts with accented
  649. characters to display properly.
  650.  
  651. Implements the undocumented 'testadd' opcode for Type 1 fonts, which is
  652. used by some Adobe fonts.
  653.  
  654. Renames gs_currentcolor and gs_setcolor as gs_currentgscolor and
  655. gs_setgscolor.  Removes gs_colorhsb, gs_colorrgb, gs_hsbcolor, and
  656. gs_rgbcolor.
  657.  
  658. Version 2.0 (9/12/90)
  659. ===========
  660.  
  661. The main purpose of this release is to add fonts, support for multiple
  662. devices, and imaging into memory.  It also fixes a number of miscellaneous
  663. bugs.  (Unfortunately, accurate records of the bugs fixed are not
  664. available.)  The changes were so extensive that we chose to increment the
  665. major version number.
  666.  
  667. Miscellaneous
  668. -------------
  669.  
  670. Doesn't attempt to open the .MAP file on Unix systems.
  671.  
  672. Adds mention of statusd.ps to interp.doc.
  673.  
  674. Notes that Turbo C 2.0, not 1.5, is required for building the MS-DOS
  675. version.
  676.  
  677. Adds a DEVICES= line to the makefile, and allows multiple devices.
  678.  
  679. Documents, in interp.doc, the X Windows resources that Ghostscript
  680. recognizes.
  681.  
  682. Adds three PostScript masters to the fileset: chess.ps (+ cheq.ps),
  683. golfer.ps, and escher.ps.
  684.  
  685. Drivers
  686. -------
  687.  
  688. Changes the names of all the device drivers.  See gdevs.mak for the
  689. updated list.
  690.  
  691. Adds a (working) driver for SunView.
  692.  
  693. Adds drivers for the Sony NeWS frame buffer, and the Sony Microsystems
  694. NWP533 printers.  These drivers were contributed by users, so we aren't
  695. prepared to answer questions about them.
  696.  
  697. Adds a driver for the Borland Graphics Interface (BGI) for MS-DOS systems.
  698. Note that to use this driver with a non-EGA/VGA display, you need a .BGI
  699. file appropriate for your hardware.  (The Ghostscript executable includes
  700. the EGA/VGA driver.)
  701.  
  702. Adds a driver for Epson printers.  The driver has only been tested on an
  703. LX-800, and on an H-P DeskJet in FX-80 emulation mode, but may work on
  704. other models.  The driver could be adapted to work on Unix systems, but as
  705. distributed, it only works on MS-DOS systems.
  706.  
  707. Adds a driver for the Hewlett-Packard DeskJet printer.  The driver could
  708. be adapted to work on Unix systems, but as distributed, it only works on
  709. MS-DOS systems.
  710.  
  711. The X Windows driver no longer waits for the user to type a character
  712. before bringing up the initial display.
  713.  
  714. Adds information to drivers.doc describing how to change the definition of
  715. the device structure and procedure table.
  716.  
  717. Extends the tile_rectangle and tile_trapezoid driver procedures to
  718. interpret color0 = color1 = gx_no_color_index as meaning that the tile is
  719. actually colored, not a mask.
  720.  
  721. Build procedures
  722. ----------------
  723.  
  724. Changes the tar file so it puts everything in a directory called gs.
  725.  
  726. Removes the -ansi switch for gcc (this was causing problems with <math.h>
  727. on some systems).
  728.  
  729. Changes LDPLAT to the string -X, which is appropriate for most Unix
  730. systems (but not for SunOS 4.n).
  731.  
  732. Adds EXTRALIBS to the makefile, for specifying additional libraries to be
  733. linked in.
  734.  
  735. Adds a 'clean' target for 'make', to get rid of all temporary files, the
  736. binaries, and the executable.
  737.  
  738. Changes names of system-specific files from gp-xxx.c to gp_xxx.c.
  739.  
  740. Adds support for VMS (gp_vms.c and ghost.dcl).
  741.  
  742. Creates a new file gdevs.mak, and reorganizes the other makefiles, so that
  743. the choice of which device driver(s) to include is isolated in a single
  744. line in the platform-specific makefile.
  745.  
  746. Changes the standard MS-DOS makefile so it builds for 8088/86 (not 80386),
  747. with neither -DNOPRIVATE nor -DDEBUG.
  748.  
  749. Changes the name of the MS-DOS makefile from dos-ega.mak to msdos.mak, and
  750. the Unix makefiles from ux-[g]cc-x.mak to unix-[g]cc.mak.
  751.  
  752. Updates drivers.doc to describe how to add new drivers in gdevs.mak.
  753.  
  754. Removes gdevs.ps: the drivers are now responsible for specifying the size
  755. of the imaging region.
  756.  
  757. Interpreter
  758. -----------
  759.  
  760. Adds a makefile macro GS_LIB_DEFAULT and an environment variable GS_LIB to
  761. define a search path for the library (initialization and font) files, and
  762. implements the -I switch for the same purpose (replacing -sLIB=, which was
  763. never actually implemented).  See interp.doc for details.
  764.  
  765. No longer clears the operand stack between interactive inputs.  No longer
  766. prints the contents of the operand stack after every input in debug mode.
  767.  
  768. Doesn't "eat" the character that the user types to proceed after a
  769. showpage, unless it's an isolated <return>.
  770.  
  771. Changes the prompt so that it says
  772.     GS>
  773. if the operand stack is empty, or
  774.     GS<n>
  775. if there are n > 0 elements on the operand stack.
  776.  
  777. Adds -w and -h switches to the command line, equivalent to -dWIDTH= and
  778. -dHEIGHT= except that they require numeric arguments.
  779.  
  780. Adds -q (quiet startup) switch to the command line, which suppresses some
  781. initial messages and also has an effect equivalent to -dQUIET.
  782.  
  783. Fixes bugs:
  784.     - = and == caused an error on some kinds of objects if the object
  785. didn't have read access.
  786.     - cvs didn't print operator names.
  787.     - The definition of dynamic_begin in iscan.c caused the DEC VMS C
  788. compiler to produce incorrect code.
  789.     - mul didn't return a correct (real) result when multiplying a
  790. very large integer by an integer that wasn't very large.
  791.     - eq and ne didn't work on files, fonts, save objects, and some
  792. operators.
  793.     - The scanner would sometimes blow up on floating point numbers
  794. beginning with a '.'.
  795.     - flushfile didn't pop its argument from the stack.
  796.     - put and putinterval would store into a packed array.
  797.     - a few operators didn't check properly for stack underflow.
  798.     - cvrs produced wrong output for radix values greater than 10.
  799.     - The scanner would convert upper-case letters in alternate-radix
  800. numbers wrong on Unix systems.
  801.     - String comparisons other than equality often produced the wrong
  802. result if the strings were of different lengths.
  803.     - An ifelse as the last thing inside a forall would confuse the
  804. execution stack.
  805.     - There were some omitted casts and 'private' declarations that
  806. made the GNU compiler unhappy.
  807.     - There was a memory leak in the image[mask] operators that caused
  808. 516 bytes to be permanently lost each time one of them was used.
  809.     - Quoted strings of length greater than 50 and less than 100 would
  810. get mangled when being read in.
  811.     - The scanner didn't consume the whitespace character following a
  812. token, so programs that read data out of the program file could get
  813. confused.
  814.     - Under rare circumstances, an object of size between 249 and 255
  815. bytes could get allocated on top of another object.
  816.  
  817. Allows bind to bind packed arrays, even though they aren't normally
  818. writable.
  819.  
  820. Changes the length operator to allow a name as the argument.  (The
  821. PostScript manual doesn't allow this, but implementations apparently do.)
  822.  
  823. Changes the setcachedevice operator to allow the bounding box to be
  824. specified as a 4-element array instead of 4 scalars.  (The PostScript
  825. manual doesn't allow this, but implementations apparently do.)
  826.  
  827. Removes a line from ghost.ps that accidentally disabled the font cache.
  828.  
  829. Implements memory devices (makeimagedevice, copyscanlines, and makedevice
  830. for image devices).  makeimagedevice is implemented only for 1, 8, 24, and
  831. 32 bits per pixel.
  832.  
  833. Changes the deviceparams operator so it pushes a mark on the stack below
  834. the parameters.  This is to allow for devices that have more than the
  835. standard set of parameters.
  836.  
  837. Replaces defaultdevicename with two new operators, getdevice and
  838. devicename.
  839.  
  840. Adds a flushpage operator that flushes any outstanding buffered output to
  841. the screen.  This is not the same as copypage: on printers, copypage
  842. actually prints a page, whereas flushpage may do nothing; on displays,
  843. flushpage and copypage may both flush output to a server.
  844.  
  845. Adds an unread operator for pushing back a character into a file.
  846.  
  847. Adds a description of proposed grayimage and colorimage operators to
  848. ghost.doc, even though they aren't implemented yet.
  849.  
  850. Changes the name of the currentfileposition operator to fileposition.
  851.  
  852. Removes the framedevice operator, since the new device operators supersede
  853. it.
  854.  
  855. Adds a writeppmfile operator, for writing the contents of a memory device
  856. to a ppm file.
  857.  
  858. Makes Ghostscript work even when the >> operator doesn't sign-extend
  859. negative numbers.  (This has not been tested.)
  860.  
  861. Adds the Symbol encoding to ghost.ps.
  862.  
  863. Adds two new file-related operators, filename and findlibfile.  See
  864. ghost.doc and interp.doc for details.
  865.  
  866. Adds type1encrypt and type1decrypt operators for manipulating Adobe Type 1
  867. encoded fonts.
  868.  
  869. Changes the imagecharpath and addcharpath operators to type1imagepath and
  870. type1addpath.  These operators now work with the Adobe Type 1 font
  871. encoding.
  872.  
  873. Adds the type1decryptfile operator for reading Adobe Type 1 encrypted
  874. fonts.
  875.  
  876. Library
  877. -------
  878.  
  879. Fixes bugs:
  880.     - curveto and lineto didn't check for the current point being
  881. defined.
  882.     - stringwidth would fail if there was no current point.
  883.     - There were omitted casts that made the GNU compiler unhappy.
  884.     - Line caps and joins didn't always work.
  885.     - Dashed lines didn't work at all.
  886.     - If you read out the current matrix while inside a BuildChar
  887. procedure, the result was garbage.
  888.     - image[mask] would crash if you gave it a single string with more
  889. than 64K-1 pixels (MS-DOS only).
  890.     - Filling with a gray pattern sometimes wrote into pixels beyond
  891. the right edge of the region (MS-DOS only).
  892.     - The font cache would mistake fonts for each other if both fonts
  893. had a default (unsupplied) "unique ID".
  894.     - When a character was entered into the font cache for the first
  895. time, sometimes it would display as garbage and/or displaced vertically
  896. from its proper position.
  897.  
  898. Implements gs_makeimagedevice, gs_copyscanlines, gs_getdevice,
  899. gs_devicename, gs_flushpage, gs_writeppmfile, gs_type1encrypt,
  900. gs_type1decrypt, gs_type1imagepath, and gs_type1addpath procedures
  901. corresponding to the new operators in the interpreter (see preceding
  902. section).
  903.  
  904. Changes [gs_]setdevice so that it does an erasepage when it first opens
  905. the device.
  906.  
  907. Changes definition of gx_device structure as follows.  NOTE: THIS AFFECTS
  908. ALL DRIVERS.
  909.  
  910.     - Removes bits_from_MSB (which wasn't actually used, in any case).
  911.         Ghostscript now assumes officially, as it always did in
  912.         practice, that device bitmaps are stored MSB first, i.e., X=0
  913.         corresponds to the 0x80 bit in the first byte.
  914.  
  915.     - Removes the initial_matrix member, which wasn't actually being
  916.         set up.
  917.  
  918.     - Adds a new member 'name', a string giving the device name.
  919.  
  920.     - Adds new members 'x_pixels_per_inch' and 'y_pixels_per_inch'.
  921.         These are only used by the default initial_matrix procedure
  922.         (see below).
  923.  
  924.     - Adds a new procedure 'output_page'.  The default implementation
  925.         (gx_default_output_page) just calls the sync_output procedure.
  926.  
  927.     - Adds a new procedure 'get_initial_matrix'.  The default
  928.         procedure uses the width, height, and x/y_pixels_per_inch
  929.         members to compute the matrix, assuming that X values run from
  930.         right to left, and Y values run from top to bottom.
  931.  
  932. Changes the names of the allocation procedure types gs_proc_alloc and
  933. gs_proc_free to proc_alloc_t and proc_free_t, and moves them from gs.h to
  934. std.h.
  935.  
  936. Makes Ghostscript work even when the >> operator doesn't sign-extend
  937. negative numbers.  (This has not been tested.)
  938.  
  939. Version 1.3 (6/20/89)
  940. ===========
  941.  
  942. This release should have had a lot more things in it, but time pressure
  943. and the already long delay in getting it out made it necessary to push it
  944. out the door in an incomplete state (e.g., no testing on X systems
  945. whatsoever).
  946.  
  947. Interpreter
  948. -----------
  949.  
  950. Makes -d and -D equivalent on the command line.  Adds a new switch -s / -S
  951. that defines a name as a string rather than a token.
  952.  
  953. Arranges things so that if -sLIB=_a_prefix_ is defined on the command
  954. line, (filename) run will look for _a_prefix_filename before giving up if
  955. filename isn't the name of an accessible file.
  956.  
  957. Changes showpage from an operator to a procedure.  The definition of
  958. showpage in ghost.ps does a copypage, beeps the console, waits for the
  959. user to type a character (normally a <return>, since line buffering is
  960. always enabled), and then does an erasepage and an initgraphics.
  961.  
  962. Adds a new initialization file, gdevs.ps, containing device-dependent
  963. parameters.  The default window size for X Windows is properly set to 612
  964. x 792, i.e., 8.5" x 11".
  965.  
  966. Adds a new optional initialization file, statusd.ps, that provides dummy
  967. definitions for the names found in statusdict on LaserWriters.
  968.  
  969. Adds a new operator, getenv, to get information from the shell
  970. environment.
  971.  
  972. Adds a new predefined operator, defaultdevicename, that returns either (X)
  973. or (EGA) according to how the interpreter was built.
  974.  
  975. Adds a new type, devicetype, and new operators deviceparams, getscanlines,
  976. makedevice, makeimagedevice, and setdevice.  Changes currentdevice to
  977. return a device object rather than a set of parameters.
  978.  
  979. Makes the scanner recognize reals with 'e' exponent notation, and handle
  980. reals with more than 9 digits.
  981.  
  982. Fixes a bug that made names starting with digits read incorrectly.
  983.  
  984. Fixes a bug in the exp operator that made it not pop its first argument
  985. from the stack.
  986.  
  987. Fixes a bug in the rand operator that made it return negative values about
  988. half the time.
  989.  
  990. Fixes a bug in equality comparison (eq, ne, and several other operators)
  991. that made unequal operator objects occasionally appear to be equal on DOS
  992. systems.
  993.  
  994. Fixes a bug in the bind operator that made it not work on packed arrays.
  995.  
  996. Changes the internal representation of dictionaries so they can be
  997. expanded or contracted dynamically.  Adds a new operator, setmaxlength, to
  998. change the allocated size of a dictionary.
  999.  
  1000. Changes sstorei.h so that non-DOS compilers don't encounter the #pragma
  1001. directive used by Turbo C.
  1002.  
  1003. Restores the display mode (on MS-DOS systems) when exiting.
  1004.  
  1005. Fonts
  1006. -----
  1007.  
  1008. Makes undefined characters in the standard font display as tilde rather
  1009. than blank (or causing an error).  Unmapped character codes (those mapped
  1010. to .notdef in the encoding) still display as nothing, per the PostScript
  1011. manual.
  1012.  
  1013. Library
  1014. -------
  1015.  
  1016. Adds a new header file, gxbitmap.h, with some new documentation describing
  1017. the internal storage format for bitmaps.
  1018.  
  1019. Makes numerous internal changes in the character / font cache, affecting
  1020. many of the routines in gxcache.c.
  1021.  
  1022. Fixes a bug in gz_draw_line / gz_fill_trapezoid that made nearly
  1023. horizontal lines display wrong.
  1024.  
  1025. Fixes a bug in gs_scale that made scaling not work if the coordinate
  1026. system was rotated or skewed.
  1027.  
  1028. Extends the font cache so it will handle characters rotated by multiples
  1029. of 90 degrees.
  1030.  
  1031. Changes the second argument of gx_path_bbox and gx_path_is_rectangle to be
  1032. a gs_fixed_rect * rather than a fixed [4].
  1033.  
  1034. Changes gs_matrix_rotate so it handles multiples of 90 degrees as a
  1035. special case.
  1036.  
  1037. Changes the definition of the gx_device structure to accommodate the new
  1038. device operators, and adds corresponding library calls.
  1039.  
  1040. Changes the type for a device color index from int to gx_color_index
  1041. (equivalent to unsigned long).  ***NOTE***: this affects existing clients
  1042. and drivers in a non-trivial way on MS-DOS systems.
  1043.  
  1044. Changes gs_malloc and gs_free to take a client name string as an argument.
  1045.  
  1046. Usage procedures
  1047. ----------------
  1048.  
  1049. Changes the compilation rules for Unix systems to not use the -o and -c
  1050. compiler flags together, to be compatible with more versions of cc.
  1051.  
  1052. Changes the gcc makefile to use $(GCC) rather than gcc as the compiler
  1053. name.
  1054.  
  1055. Moves the -1 flag for the MS-DOS compiler from the cc*.bat files to the
  1056. makefile.
  1057.  
  1058. Changes CCDEBUG to CCFLAGS, and adds ASMFLAGS, in DOS makefile.
  1059.  
  1060. Adds -DFOR80386 and /DFOR80386 to enable use of 80386 instructions in
  1061. assembly code on DOS systems.
  1062.  
  1063. Merges the DEBUG and gs_DEBUG switches.  There is now only a single DEBUG
  1064. switch that affects both the interpreter and the library.
  1065.  
  1066. Adds a new compilation switch, -DNOPRIVATE, that makes private (static)
  1067. variables and procedures public for debugging and profiling (only needed
  1068. on DOS systems).
  1069.  
  1070. Adds the DOS executable (gs.exe and gs.map) to the distribution fileset.
  1071.  
  1072. Adds new platform-specific code files, gp-*.c, for a few things like
  1073. reading the clock.
  1074.  
  1075. Adds a new documentation file, drivers.doc, that describes the interface
  1076. between Ghostscript and device drivers.
  1077.  
  1078. Version 1.2 (2/22/89)
  1079. ===========
  1080.  
  1081. Interpreter
  1082. -----------
  1083.  
  1084. Adds the new facilities in version 25 of PostScript: //name for immediate
  1085. lookup, packed arrays (setpacking, currentpacking, packedarray operators),
  1086. and new font cache parameters (setcacheparams, currentcacheparams
  1087. operators).
  1088.  
  1089. Adds new operators (setfileposition, currentfileposition) for random
  1090. access to files.
  1091.  
  1092. Extends readhexstring to take either a string or a file, just like token.
  1093.  
  1094. Fixes a bug that caused the 'for' operator (and a couple of others) to
  1095. randomly smash memory locations on PC platforms.
  1096.  
  1097. Library
  1098. -------
  1099.  
  1100. Renames the init_device driver procedure as open_device, and adds a
  1101. corresponding close_device.
  1102.  
  1103. Adds new procedures to read and set the cache limit values (implementing
  1104. the currentcacheparams and setcacheparams operators).
  1105.  
  1106. Usage procedures
  1107. ----------------
  1108.  
  1109. Changes the name of the Unix makefile to ux-cc-x.mak, and adds a new Unix
  1110. makefile, ux-gcc-x.mak, for using gcc instead of cc.  (The latter doesn't
  1111. actually work yet.)
  1112.  
  1113. Changes the name of the single built-in font from uglyfont.cp to
  1114. ugly10.cp.
  1115.  
  1116. Version 1.1 (2/12/89)
  1117. ===========
  1118.  
  1119. Interpreter
  1120. -----------
  1121.  
  1122. Makes the scanner treat ^Z (ASCII code 26) as whitespace: it erroneously
  1123. treated ^R (ASCII code 22, or octal 26) as whitespace.
  1124.  
  1125. Makes the token and readline operators, and the syntax for comments,
  1126. recognize \r (code 13), \n (code 10), and \r\n as equivalent end-of-line
  1127. indicators.  The token and readline operators will skip over any of these
  1128. sequences at the end of a token or line respectively, and a comment will
  1129. read through any of these sequences.  The other file operators (read,
  1130. write, readstring, writestring) do nothing special with these characters.
  1131.  
  1132. Changes the debug switch name from -D to -Z.  Adds a -D switch for
  1133. defining names in systemdict from the command line.  Defines -DDEBUG for
  1134. printing out debugging information during initialization, and -DNODISPLAY
  1135. for suppressing display output.
  1136.  
  1137. Corrects a bug that prevented the error machinery from working -- in
  1138. version 1.0, errors always dumped the stacks and aborted interpretation.
  1139.  
  1140. Corrects a bug that made eq and ne not work for strings.
  1141.  
  1142. Makes the atan (arctangent) operator normalize its results according to
  1143. the PostScript convention.
  1144.  
  1145. Makes the div operator check for zero divisor.
  1146.  
  1147. Makes unimplemented operators (resetfile, echo, save, restore, strokepath,
  1148. reversepath) truly undefined.
  1149.  
  1150. Makes the interactive loop exit gracefully on end-of-file: in version 1.0
  1151. this caused an infinite loop.
  1152.  
  1153. Implements the status operator.
  1154.  
  1155. Corrects a bug that made the 'for' operator deliver garbage values if one
  1156. or more of the operands (start, increment, end) was a real.
  1157.  
  1158. Corrects a bug that made the arc and arcn operators not pop their operands
  1159. from the stack.
  1160.  
  1161. Corrects a bug that made the kshow operator crash the interpreter.
  1162.  
  1163. Corrects a bug that made the print operator fail on machines that don't
  1164. pass structure arguments by simply pushing the contents of the structure.
  1165.  
  1166. Adds a new operator, imagecharpath, to convert images to
  1167. addcharpath-compatible outlines.
  1168.  
  1169. Changes alloc and alloc_free to use char * rather than byte *, and
  1170. alloc_free to return void rather than int, making them compatible with the
  1171. library's expectations and with malloc/free.
  1172.  
  1173. Explicitly casts all expressions of the form (ptr1 - ptr2) used as
  1174. procedure arguments to unsigned, to handle an incompatibility between
  1175. Turbo C versions 1.5 and 2.0.
  1176.  
  1177. Changes some of the internal conventions for operators: operators that
  1178. push on the operand stack must check for overflow explicitly, and
  1179. operators that modify the execution stack must return a special code.
  1180. (See oper.h for details.)
  1181.  
  1182. Initialization (ghost.ps, gfonts.ps)
  1183. --------------
  1184.  
  1185. Modifies ghost.ps and gfonts.ps so they print debugging information only
  1186. if the name DEBUG is defined.  (Presumably the user will set this from the
  1187. command line with -DDEBUG.)
  1188.  
  1189. Changes ghost.ps so it initializes the nominal screen size to 640 x 350 on
  1190. MS-DOS systems as before, but to 612 x 792 on Unix systems, which is an
  1191. 8.5" x 11" page at 72 pixels per inch.
  1192.  
  1193. Library
  1194. -------
  1195.  
  1196. Corrects a bug that made the fill and eofill operators (gs_fill and
  1197. gs_eofill) not perform a newpath afterward.
  1198.  
  1199. Corrects the bug that made thin, nearly horizontal lines display wrong (as
  1200. a series of disconnected dots) in the MS-DOS implementation.
  1201.  
  1202. Fixes a bug in the EGA driver that often made it fill rectangular regions
  1203. with black around information being displayed in white.
  1204.  
  1205. Completely changes the internal representation of outline fonts, and
  1206. changes btoi.ps (a Ghostscript language program for converting bitmaps to
  1207. outlines) to use a new library call, gs_imagecharpath.
  1208.  
  1209. Changes the extension for outline font files from .gf to .cp.
  1210.  
  1211. Adds a new debugging switch, q, that traces all rectangle fill operations.
  1212.  
  1213. Adds a new debugging switch, v, that traces all device-level output calls.
  1214.  
  1215. Explicitly casts pointer differences passed as procedure arguments, as in
  1216. the interpreter.
  1217.  
  1218. Makes stringwidth work if there is no current point.  In version 1.0, this
  1219. gave a nocurrentpoint error.
  1220.  
  1221. Usage procedures
  1222. ----------------
  1223.  
  1224. Changes the name of the 'read me' file from READ.ME to README.
  1225.  
  1226. Removes a bogus line (invoking the 'mcopy' utility) from the makefile.
  1227.  
  1228. Splits up the makefile into a generic part (ghost.mak) and
  1229. platform-specific parts (dos-ega.mak, unix-x11.mak).  The latter are what
  1230. is actually executed.
  1231.  
  1232. Puts the definitions of the DEBUG and gs_DEBUG compilation flags into the
  1233. makefile instead of in ghost.h and gx.h respectively.
  1234.  
  1235. Changes the names of the documentation files to be a little less cryptic.
  1236. Changes all the file names to lower-case in the documentation.  Adds
  1237. installation information to make.doc.
  1238.  
  1239. Changes all function definitions (but not prototype declarations) to ANSI
  1240. syntax, and adds a preprocessing step (ansi2knr) to convert them to K&R
  1241. syntax on Unix systems.
  1242.  
  1243. Changes the normal MS-DOS link configuration to not assume the presence of
  1244. an 80x87 coprocessor, and describes how to increase performance if a
  1245. coprocessor is present.
  1246.  
  1247. Changes the names of all the interpreter .c files, except stream.c, to
  1248. begin with 'i'.
  1249.  
  1250. Version 1.0 (8/11/88)
  1251. ===========
  1252.  
  1253. First version released to the public.
  1254.